<template>
    <view class="page">
        <back :isBack="true" :title="'预约成功'"></back>
        <view class="tupian"></view>
        <view class="wenzi">恭喜您，预约成功</view>
        <view class="xiaozi">您的订单已提交到平台，我们会安排勘察员与您电话联系，并前去现场勘察具体订单信息 </view>
        <view class="caozuo">
            <view class="danhui" @click="backShouye">返回首页</view>
            <view class="look" @click="lookOrder">查看订单</view>
        </view>
    </view>
</template>
<script>
import back from "@/components/goback/goback"
export default {
    components: {
        back
    },
    data() {
        return {


        }
    },
    onShow() {

    },
    methods: {
        backShouye() {
            uni.switchTab({ url: '/pages/index/index' })
        },
        lookOrder() {
            uni.setStorageSync('active', 2);
            uni.setStorageSync('xiugai',true)
            uni.navigateTo({ url: '/orderPage/order/index' })
        }
    }
}
</script>
<style lang="scss" scoped>
.page {
    width: 100vw;
    height: 100vh;
    background-color: #FFFFFF;
    position: relative;

    .tupian {
        width: 479.38rpx;
        height: 248.4rpx;
        opacity: 1;
        margin: auto;
        margin-top: 126rpx;
        background-image: url('https://build.lwjcg.com/uploads/orderempoy.png');
        background-size: 100% 100%;
        margin-bottom: 40rpx;

    }

    .wenzi {
        width: 100%;
        height: 56rpx;
        opacity: 1;
        font-size: 40rpx;
        font-weight: 500;
        line-height: 56rpx;
        color: rgba(0, 0, 0, 1);
        text-align: center;
        margin-bottom: 14rpx;

    }

    .xiaozi {
        width: 672rpx;
        height: 74rpx;
        opacity: 1;
        /** 文本1 */
        font-size: 26rpx;
        font-weight: 400;
        letter-spacing: 2rpx;
        line-height: 36.4rpx;
        color: rgba(128, 128, 128, 1);
        text-align: center;
        margin: auto;
        margin-bottom: 68rpx;
    }

    .caozuo {
        width: 100%;
        height: 80rpx;
        display: flex;
        justify-content: space-between;
        box-sizing: border-box;
        padding: 0 130rpx;

        .danhui,
        .look {
            width: 200rpx;
            height: 80rpx;
            border-radius: 18rpx;
            border: 2rpx solid rgba(229, 229, 229, 1);
            text-align: center;
            line-height: 74rpx;
            font-size: 28rpx;
            font-weight: 400;
            color: rgba(56, 56, 56, 1);

        }

    }

}
</style>